package Vehicle1;

public class Sum {
	public int totalRent(Vehicle[] motos,int days){
		int sum = 0;
		for (int i = 0; i < motos.length; i++) {
			sum += motos[i].calRent(days);
		}
		return sum;
	}
}
